package com.hubu.list;
import com.hubu.list.util.Iterator;
public class SingleListTest {
    public static void main(String[] args) {
        SingleList<Integer> list=new SingleList<>(null);
        list.add(12);
        list.add(13);
        list.add(14);
        list.add(15);
        Iterator<Integer> iterator =
                list.iterator();
        while(iterator.hasNext()){
            Integer value = iterator.next();
            System.out.println(value);
        }
    }
}
